<?php
require_once '../../phpsimcaps.php';
if($argc != 5)
{
	print "Usage: php {$argv[0]} Firstname Lastname Password sound.ogg\n";
	print "\nNOTE: Only ogg files work. Restrictions haven't been worked out yet.\n";
	die();
}
$caps = new simcaps($argv[1],$argv[2],$argv[3],"Sound Upload Test");
$caps->setdebug(5);
$caps->login();
$uploader = new uploader($caps);
print "Uploaded sound: ";
print $uploader->uploadsound($argv[4],$argv[4],"Test Sound");
?>
